package com.bzm.service.plugins;

import java.util.List;

import javax.servlet.http.HttpServletRequest;

import com.bzm.common.entity.JsonResult;
import com.bzm.pojo.bzm.vo.BzmImChatMsgLogsVo;
import com.bzm.pojo.file.SysFileInfo;
import com.bzm.pojo.plugins.echarts.EchartsOption;
import com.bzm.pojo.plugins.im.ImChatMsg;
import com.bzm.pojo.plugins.im.ImRegisterBeat;

public interface BzmImCommonService {
	
	void addImUserAddress(ImChatMsg imChatMsg);
	
	void sendMsg(ImChatMsg imChatMsg);
	
	Boolean consumeMsg(ImChatMsg imChatMsg);
	
	void offLineMsg(String userId);
	
	JsonResult<ImRegisterBeat> selectImRegisterService(String code);
	
	JsonResult<List<ImRegisterBeat>> selectImRegisterList(String code);
	
	void initImServiceRegister();
	
	JsonResult<List<SysFileInfo>> selectImUserAvatarList(String code);
	
	JsonResult<EchartsOption> selectCountUserAdd(HttpServletRequest request);
	
	JsonResult<EchartsOption> selectCountMsgAdd(HttpServletRequest request);
		
	JsonResult<List<BzmImChatMsgLogsVo>> selectGroupMsgList(String groupId);
	
	JsonResult<List<BzmImChatMsgLogsVo>> selectFriendMsgList(String sendId,String receiveId);
}
